Fix a FTCBFS issue because of using AC_PATH_PROG
authorHelmut Grohne <helmut@subdivi.de>
Tue, 7 Jul 2026 18:35:29 +0000 (20:35 +0200)
committerAndreas Dolp <dev@andreas-dolp.de>
Tue, 7 Jul 2026 18:35:29 +0000 (20:35 +0200)
commit480567ee10722ed7c48ceffc8878244341976145
treeb69e38cc4cb7ca7296b1c9da406f0fc20ee73ca5
parent1c7e11de623451322b4be6e4e67c04e3769400bf
Fix a FTCBFS issue because of using AC_PATH_PROG

Bug-Debian: https://bugs.debian.org/895996
Last-Update: 2025-07-11

This patch fixes a FTCBFS issue caused by using AC_PATH_PROG to
discover the location of pkg-config, which fails to select the
correct version on cross-compilations. The corresponding lintian
warning 'autotools-pkg-config-macro-not-cross-compilation-safe'
suggests to use PKG_PROG_PKG_CONFIG and $PKG_CONFIG instead.

Gbp-Pq: Name cross.patch
configure.ac